package neu.soft.feign;

import neu.soft.vo.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@Component
@FeignClient(value = "dispatch-server",fallbackFactory = DispatchFeignClientFallBackFactory.class)
public interface DispatchFeignClient {
    @RequestMapping("/orderInquire/findTransfer")
    ResultBean<List<Map<String,Object>>>findTransfer(@RequestBody String orderId);
}
